﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mongaba.Core.Exceptions
{
    [Serializable]
    internal class UserNameAlreadyExistsException : Exception
    {
        string message;

        public override string Message
        {
            get
            {
                return this.message;
            }
        }
        public UserNameAlreadyExistsException() : base()
        {
            this.message = "O nome de usuário escolhido já existe na rede escolhida";
        }


        public UserNameAlreadyExistsException(string message)
            : base(message)
        { 
        
        }
    }
}
